package com.mika.cn.service.impl;

import com.mika.cn.mapper.MikaMapper;
import com.mika.cn.pojo.dto.MikaDto;
import com.mika.cn.service.MikaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MikaServiceImpl implements MikaService {
    @Autowired
    private MikaMapper mikaMapper;


    @Override
    public boolean saveMika(MikaDto mikaDto) {
        Integer i = mikaMapper.saveMika(mikaDto);
        boolean a=true;
        if (i==null){
            a=false;
        }
        return a;
    }
}
